import { Injectable } from '@nestjs/common';
import { InjectRepository } from '@nestjs/typeorm';
import { IotSim } from 'src/entities/IotSim';
import { Repository } from 'typeorm';
import { BaseModelService } from '../base-model/base-model.service';

@Injectable()
export class IotSimModelService extends BaseModelService<IotSim> {
    constructor(
        @InjectRepository(IotSim) protected repository:Repository<IotSim>
    ){
        super()
        this.primaryKey = 'id'
    }
}
